package com.wissen.template;
/**
 * @author wissen16
 * Program for shownig template concept
 **/
 /**
  *  class Template having 3 generic data_types with display methods
 */
 public class Template<t1,t2,t3> {
	 /**
	  * method to display hetrogenous datatypes
	  */
  private void display(t1 dt1,t2 dt2,t3 dt3) {
	  System.out.println(dt1);
	  System.out.println(dt2);
	  System.out.println(dt3);
  }
  /**
   * main method to cteate template objects 
   */
  public static void main(String argv[]) {
	  Template<Integer,String,String> a1 = new Template<Integer,String,String>();
	  Template<Integer,Double,String> a2 = new Template<Integer,Double,String>();
	  a1.display(7,"Wissen","Nasik");
	  a2.display(4,2.0,"Flore");
  }
 }
